package com.orange.core.pojo.req.usercoupon;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 用户优惠券退款申请请求
 */
@Data
public class UserCouponRefundApplyReq implements Serializable {

    /**
     * 用户优惠券id
     */
    @NotNull(message = "用户优惠券id不能为空")
    private Integer id;

    /**
     * 退款原因
     */
    @NotNull(message = "退款原因不能为空")
    private String refundReason;

    /**
     * 退款说明
     */
    @Size(max = 128, message = "退款说明不能超过{max}个字符")
    private String refundRemark;
}
